package cn.itsource.wechat.pojo.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

//用户
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_wxuser")
public class WxUser extends BaseDomain {

    //微信账户唯一标识
    private String openid;
    //昵称
    private String nickname;
    //性别
    private Integer sex;
    //地址
    private String address;
    //头像地址
    private String headimgurl;
    //不知道
    private String unionid;
    //和t_user表的外键
    private Long userId;
}
